import java.util.Scanner;
public class Circle {
    public static void main(String[] args)
    {
        Scanner scanner =new Scanner(System.in);
        System.out.print("请输入一个圆的半径: ");
        double r=scanner.nextDouble();
        System.out.println("圆的面积为:"+r*r*Math.PI);
    }
}

